package etnorservice.etnor_service.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.nio.file.Path;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2025/03/19/12:05
 **/
public interface ImageUploadService {
    String uploadImage(MultipartFile file) throws IOException;
    void deleteImage(String imagePath) throws IOException;
    boolean exists(String imagePath) throws IOException;
    Path getImagePath(String imageUrl) throws IOException;


}

